package com.example.springhelloworld.pojo;

import java.io.Serializable;

public class Student implements Serializable {
    private int id;
    private int user_id;
    private int course_id;
    private int score;
    private String student_name;

    public Student(int id, int user_id, int course_id, int score, String student_name) {
        this.id = id;
        this.user_id = user_id;
        this.course_id = course_id;
        this.score = score;
        this.student_name = student_name;
    }

    public Student() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getStudent_name() {
        return student_name;
    }

    public void setStudent_name(String student_name) {
        this.student_name = student_name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", course_id=" + course_id +
                ", score=" + score +
                ", student_name='" + student_name + '\'' +
                '}';
    }
}
